﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[eVersiuneDocumentGetPtr] 
	-- Add the parameters for the stored procedure here
	@idVersiuneDocument int,
	@ptrval binary(16) out
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    
	SELECT @ptrval = TEXTPTR(continut) FROM [eVersiuniDocumente]  WHERE [IDVersiuneDocument]=@idVersiuneDocument
	
END